﻿using System;
using System.Collections;


/**
 * 作者：陈杰
 * QQ  : 710782046
 * Email:ovenjackchain@gmail.com
 * Web :http://www.qidian10.com
 */ 
namespace Model
{
   public class syskeys
   {
      #region 构造函数
      public syskeys()
      {}

      public syskeys(int id,string type,int depid,int keycnt,int size,string key1,string key2,string key3,string key4,string key5,string key6,string key7,string key8,string depkey1,string depkey2,string depkey3,string depkey4,string depkey5,string depkey6,string depkey7,string depkey8)
      {
         
		this._id = id;
		this._type = type;
		this._depid = depid;
		this._keycnt = keycnt;
		this._size = size;
		this._key1 = key1;
		this._key2 = key2;
		this._key3 = key3;
		this._key4 = key4;
		this._key5 = key5;
		this._key6 = key6;
		this._key7 = key7;
		this._key8 = key8;
		this._depkey1 = depkey1;
		this._depkey2 = depkey2;
		this._depkey3 = depkey3;
		this._depkey4 = depkey4;
		this._depkey5 = depkey5;
		this._depkey6 = depkey6;
		this._depkey7 = depkey7;
		this._depkey8 = depkey8;

      }
      #endregion

      #region 成员
      
		private int _id;
		private string _type;
		private int _depid;
		private int _keycnt;
		private int _size;
		private string _key1;
		private string _key2;
		private string _key3;
		private string _key4;
		private string _key5;
		private string _key6;
		private string _key7;
		private string _key8;
		private string _depkey1;
		private string _depkey2;
		private string _depkey3;
		private string _depkey4;
		private string _depkey5;
		private string _depkey6;
		private string _depkey7;
		private string _depkey8;

      #endregion


      #region 属性
      
		public int id
		{
			get { return _id ; }
			set { _id = value ; }
		}

		public string type
		{
			get { return _type ; }
			set { _type = value ; }
		}

		public int depid
		{
			get { return _depid ; }
			set { _depid = value ; }
		}

		public int keycnt
		{
			get { return _keycnt ; }
			set { _keycnt = value ; }
		}

		public int size
		{
			get { return _size ; }
			set { _size = value ; }
		}

		public string key1
		{
			get { return _key1 ; }
			set { _key1 = value ; }
		}

		public string key2
		{
			get { return _key2 ; }
			set { _key2 = value ; }
		}

		public string key3
		{
			get { return _key3 ; }
			set { _key3 = value ; }
		}

		public string key4
		{
			get { return _key4 ; }
			set { _key4 = value ; }
		}

		public string key5
		{
			get { return _key5 ; }
			set { _key5 = value ; }
		}

		public string key6
		{
			get { return _key6 ; }
			set { _key6 = value ; }
		}

		public string key7
		{
			get { return _key7 ; }
			set { _key7 = value ; }
		}

		public string key8
		{
			get { return _key8 ; }
			set { _key8 = value ; }
		}

		public string depkey1
		{
			get { return _depkey1 ; }
			set { _depkey1 = value ; }
		}

		public string depkey2
		{
			get { return _depkey2 ; }
			set { _depkey2 = value ; }
		}

		public string depkey3
		{
			get { return _depkey3 ; }
			set { _depkey3 = value ; }
		}

		public string depkey4
		{
			get { return _depkey4 ; }
			set { _depkey4 = value ; }
		}

		public string depkey5
		{
			get { return _depkey5 ; }
			set { _depkey5 = value ; }
		}

		public string depkey6
		{
			get { return _depkey6 ; }
			set { _depkey6 = value ; }
		}

		public string depkey7
		{
			get { return _depkey7 ; }
			set { _depkey7 = value ; }
		}

		public string depkey8
		{
			get { return _depkey8 ; }
			set { _depkey8 = value ; }
		}


      #endregion
      
      #region 获得自增键
      private string ReturnAutoID()
      {
          return "id";
      }
      #endregion
   }
}
